<template>
  <div id="home">
    <div class="all-title">综合能力评定</div>
    <div class="all-tab">
      <div class="active">图像工程</div>
      <div>机械设计基础</div>
      <div>工程力学</div>
      <div>电子技术基础</div>
    </div>
    <div class="all-tab-2">
      <div class="active">AI学伴</div>
      <div>AI伴教</div>
    </div>
    <div class="all-box"></div>
    <div class="all-box"></div>
    <div class="all-box"></div>
    <div class="all-box"></div>
    <div class="all-btn">
      <el-icon class="before-icon">
        <ArrowLeft />
      </el-icon>
      返回上一级
    </div>
    Home Page
    <button @click="handleLogout">退出登录</button>
  </div>
</template>
  
  <script>
export default {
  name: "Home",
  methods: {
    handleNavItemClick(index) {
      this.activeIndex = index;
      this.$router.push(this.teaNavList[index].url);
    },
    handleLogout() {
      this.$store.commit("logout");
      this.$router.push("/login");
    },
  },
};
</script>
<style lang="scss" scoped>
#home {
}
</style>